//
//  FPAuthenticationFooterView.m
//  FinanceProject
//
//  Created by 陈显摆 on 2025/1/22.
//

#import "FPAuthenticationFooterView.h"

@implementation FPAuthenticationFooterView

- (void)awakeFromNib {
    
    [super awakeFromNib];
    
    [self.nextBtn setTitleColor:UIColor.whiteColor forState:(UIControlStateNormal)];
    self.nextBtn.titleLabel.font = FONT(14.f);
    self.nextBtn.backgroundColor = MAIN_BLUE_COLOR;
    self.nextBtn.clipsToBounds = YES;
    self.nextBtn.layer.cornerRadius = 20.f;
    self.nextBtn.frame = CGRectMake(16.f, SCREEN_HEIGHT - UIDevice.tabBarFullHeight - 20.f, SCREEN_WIDTH - 32.f, 44.f);
    [self.nextBtn setTitle:@"下一步" forState:(UIControlStateNormal)];
    
    
}

- (void)setShadow {
    
    // 添加阴影
    self.layer.shadowColor = [[UIColor blackColor] colorWithAlphaComponent:.5f].CGColor; // 阴影颜色
    self.layer.shadowOpacity = 0.5; // 阴影透明度 (0.0 - 1.0)
    self.layer.shadowRadius = 5.0; // 阴影模糊半径
    self.layer.shadowOffset = CGSizeMake(0, 3); // 阴影偏移量 (x, y)
    self.layer.masksToBounds = NO; // 必须设为 NO，阴影才能显示
}

@end
